*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 10px;
}

body{
    background-color: #dcdcdc;
}
section{
    padding: 1rem;

    background-color: #c6c6c6;
    width: 30rem;
    margin: 5rem auto;

    border:0.5rem solid #fff;
    border-right-color:#808080;
    border-bottom-color: #808080;
}
/* 头部样式 */
section header{
    height: 5rem;

    border:0.5rem solid #808080;
    border-right-color:#fff;
    border-bottom-color: #fff;

    display: flex;
    flex-direction: row;
    justify-content: center;
}

section header div{
    width: 4rem;
    border: 0.1rem solid #808080;

    align-self: center;
}
section header .emoj{
    
    height: 4rem;
    background-color: #c6c6c6;

    border:0.5rem solid #fff;
    border-right-color:#808080;
    border-bottom-color: #808080;

    box-sizing: border-box;
}

/* 头像笑脸设置 */
section header img{
    width: 40px;
    position: relative;

    left: -0.77rem;
    top: -0.5rem;
}

/* 棋盘样式 */
.pannel{

    /* width: 300px; */
    height: 30rem;

    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(9,1fr);
    grid-template-rows: repeat(9,1fr);

    border:0.5rem solid #808080;
    border-right-color:#fff;
    border-bottom-color: #fff;
}

/* 单元格的样式 */
.pannel .cell{
    background-color: #c6c6c6;

    /* 颜色立体设置 */
    border:0.5rem solid #fff;
    border-right-color:#808080;
    border-bottom-color: #808080;

    box-sizing: border-box;
}

/* 点击过后的样式 */
.pannel .active{
    background-color: #c6c6c6;
    box-sizing: border-box;

    border:0.1rem solid #808080;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* 点击后显示数字的样式 */
.num_box{
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    /* background-color: aqua; */

}
/* 点击后显示雷的样式 */
.mine_box{
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    /* background-color: aqua; */
    color: red;

}